# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年02月23日
"""

import docx
from docx.shared import Cm
myDocument=docx.Document('散文名篇.docx')
myParagraph2=myDocument.paragraphs[1].insert_paragraph_before()
myImage=myParagraph2.add_run().add_picture('1.png')
myImage.height=Cm(1)
myImage.width=Cm(2)

myDocument.save('02散文名篇.docx')

